home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Your Choice 3
/
Your Choice Software Collection 3.iso
/
prgmming
/
os2
/
process.cc
< prev
next >
Wrap
Text File
|
1992-04-17
|
1KB
|
34 lines
#include "process.h"
// *******************************************************************************************************************
Process::Process ()
{
// Register thread to use Presentation Manager function calls.
hAnchrBlk = WinInitialize (0);
// Create messge queue for the thread.
hMsgQue = WinCreateMsgQueue (hAnchrBlk, // Anchor Block handle
0); // Queue size, use default
}
// *******************************************************************************************************************
HAB Process::AnchorBlock ()
{
return hAnchrBlk;
}
// *******************************************************************************************************************
HMQ Process::MsgQue ()
{
return hMsgQue;
}
// *******************************************************************************************************************